// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

/*!
 * @file AlarmInfo_t.cpp
 * This source file contains the implementation of the described types in the IDL file.
 *
 * This file was generated by the tool fastddsgen.
 */

#ifdef _WIN32
// Remove linker warning LNK4221 on Visual Studio
namespace {
char dummy;
}  // namespace
#endif  // _WIN32

#include "AlarmInfo_t.h"

#include <fastcdr/Cdr.h>


#include <fastcdr/exceptions/BadParamException.h>
using namespace eprosima::fastcdr::exception;

#include <utility>




AlarmInfo_t::AlarmInfo_t()
{
}

AlarmInfo_t::~AlarmInfo_t()
{
}

AlarmInfo_t::AlarmInfo_t(
        const AlarmInfo_t& x)
{
    m_m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO = x.m_m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO;
    m_m_TRAIN_INVASION_CLEARANCES_ALARM_INFO = x.m_m_TRAIN_INVASION_CLEARANCES_ALARM_INFO;
    m_m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO = x.m_m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO;
    m_m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO = x.m_m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO;
    m_m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO = x.m_m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO;
    m_m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO = x.m_m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO;
    m_m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO = x.m_m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO;
    m_m_LIDAR_SENSOR_FAULT_ALARM_INFO = x.m_m_LIDAR_SENSOR_FAULT_ALARM_INFO;
    m_m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO = x.m_m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO;
    m_m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO = x.m_m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO;
    m_m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO = x.m_m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO;
    m_m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO = x.m_m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO;
    m_m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO = x.m_m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO;
    m_m_RESERVE = x.m_m_RESERVE;
}

AlarmInfo_t::AlarmInfo_t(
        AlarmInfo_t&& x) noexcept
{
    m_m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO = x.m_m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO;
    m_m_TRAIN_INVASION_CLEARANCES_ALARM_INFO = x.m_m_TRAIN_INVASION_CLEARANCES_ALARM_INFO;
    m_m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO = x.m_m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO;
    m_m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO = x.m_m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO;
    m_m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO = x.m_m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO;
    m_m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO = x.m_m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO;
    m_m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO = x.m_m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO;
    m_m_LIDAR_SENSOR_FAULT_ALARM_INFO = x.m_m_LIDAR_SENSOR_FAULT_ALARM_INFO;
    m_m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO = x.m_m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO;
    m_m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO = x.m_m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO;
    m_m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO = x.m_m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO;
    m_m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO = x.m_m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO;
    m_m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO = x.m_m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO;
    m_m_RESERVE = x.m_m_RESERVE;
}

AlarmInfo_t& AlarmInfo_t::operator =(
        const AlarmInfo_t& x)
{

    m_m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO = x.m_m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO;
    m_m_TRAIN_INVASION_CLEARANCES_ALARM_INFO = x.m_m_TRAIN_INVASION_CLEARANCES_ALARM_INFO;
    m_m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO = x.m_m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO;
    m_m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO = x.m_m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO;
    m_m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO = x.m_m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO;
    m_m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO = x.m_m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO;
    m_m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO = x.m_m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO;
    m_m_LIDAR_SENSOR_FAULT_ALARM_INFO = x.m_m_LIDAR_SENSOR_FAULT_ALARM_INFO;
    m_m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO = x.m_m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO;
    m_m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO = x.m_m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO;
    m_m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO = x.m_m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO;
    m_m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO = x.m_m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO;
    m_m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO = x.m_m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO;
    m_m_RESERVE = x.m_m_RESERVE;
    return *this;
}

AlarmInfo_t& AlarmInfo_t::operator =(
        AlarmInfo_t&& x) noexcept
{

    m_m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO = x.m_m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO;
    m_m_TRAIN_INVASION_CLEARANCES_ALARM_INFO = x.m_m_TRAIN_INVASION_CLEARANCES_ALARM_INFO;
    m_m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO = x.m_m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO;
    m_m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO = x.m_m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO;
    m_m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO = x.m_m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO;
    m_m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO = x.m_m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO;
    m_m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO = x.m_m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO;
    m_m_LIDAR_SENSOR_FAULT_ALARM_INFO = x.m_m_LIDAR_SENSOR_FAULT_ALARM_INFO;
    m_m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO = x.m_m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO;
    m_m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO = x.m_m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO;
    m_m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO = x.m_m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO;
    m_m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO = x.m_m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO;
    m_m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO = x.m_m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO;
    m_m_RESERVE = x.m_m_RESERVE;
    return *this;
}

bool AlarmInfo_t::operator ==(
        const AlarmInfo_t& x) const
{
    return (m_m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO == x.m_m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO &&
           m_m_TRAIN_INVASION_CLEARANCES_ALARM_INFO == x.m_m_TRAIN_INVASION_CLEARANCES_ALARM_INFO &&
           m_m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO == x.m_m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO &&
           m_m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO == x.m_m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO &&
           m_m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO == x.m_m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO &&
           m_m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO == x.m_m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO &&
           m_m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO == x.m_m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO &&
           m_m_LIDAR_SENSOR_FAULT_ALARM_INFO == x.m_m_LIDAR_SENSOR_FAULT_ALARM_INFO &&
           m_m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO == x.m_m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO &&
           m_m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO == x.m_m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO &&
           m_m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO == x.m_m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO &&
           m_m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO == x.m_m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO &&
           m_m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO == x.m_m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO &&
           m_m_RESERVE == x.m_m_RESERVE);
}

bool AlarmInfo_t::operator !=(
        const AlarmInfo_t& x) const
{
    return !(*this == x);
}

/*!
 * @brief This function sets a value in member m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO
 * @param _m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO New value for member m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO
 */
void AlarmInfo_t::m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO(
        bool _m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO)
{
    m_m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO = _m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO;
}

/*!
 * @brief This function returns the value of member m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO
 * @return Value of member m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO
 */
bool AlarmInfo_t::m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO() const
{
    return m_m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO;
}

/*!
 * @brief This function returns a reference to member m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO
 * @return Reference to member m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO
 */
bool& AlarmInfo_t::m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO()
{
    return m_m_PEDESTRIAN_INVASION_CLEARANCES_ALARM_INFO;
}


/*!
 * @brief This function sets a value in member m_TRAIN_INVASION_CLEARANCES_ALARM_INFO
 * @param _m_TRAIN_INVASION_CLEARANCES_ALARM_INFO New value for member m_TRAIN_INVASION_CLEARANCES_ALARM_INFO
 */
void AlarmInfo_t::m_TRAIN_INVASION_CLEARANCES_ALARM_INFO(
        bool _m_TRAIN_INVASION_CLEARANCES_ALARM_INFO)
{
    m_m_TRAIN_INVASION_CLEARANCES_ALARM_INFO = _m_TRAIN_INVASION_CLEARANCES_ALARM_INFO;
}

/*!
 * @brief This function returns the value of member m_TRAIN_INVASION_CLEARANCES_ALARM_INFO
 * @return Value of member m_TRAIN_INVASION_CLEARANCES_ALARM_INFO
 */
bool AlarmInfo_t::m_TRAIN_INVASION_CLEARANCES_ALARM_INFO() const
{
    return m_m_TRAIN_INVASION_CLEARANCES_ALARM_INFO;
}

/*!
 * @brief This function returns a reference to member m_TRAIN_INVASION_CLEARANCES_ALARM_INFO
 * @return Reference to member m_TRAIN_INVASION_CLEARANCES_ALARM_INFO
 */
bool& AlarmInfo_t::m_TRAIN_INVASION_CLEARANCES_ALARM_INFO()
{
    return m_m_TRAIN_INVASION_CLEARANCES_ALARM_INFO;
}


/*!
 * @brief This function sets a value in member m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO
 * @param _m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO New value for member m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO
 */
void AlarmInfo_t::m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO(
        bool _m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO)
{
    m_m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO = _m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO;
}

/*!
 * @brief This function returns the value of member m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO
 * @return Value of member m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO
 */
bool AlarmInfo_t::m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO() const
{
    return m_m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO;
}

/*!
 * @brief This function returns a reference to member m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO
 * @return Reference to member m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO
 */
bool& AlarmInfo_t::m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO()
{
    return m_m_OTHER_OBSTACLE_INVASION_CLEARANCES_ALARM_INFO;
}


/*!
 * @brief This function sets a value in member m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO
 * @param _m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO New value for member m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO
 */
void AlarmInfo_t::m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO(
        bool _m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO)
{
    m_m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO = _m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO;
}

/*!
 * @brief This function returns the value of member m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO
 * @return Value of member m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO
 */
bool AlarmInfo_t::m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO() const
{
    return m_m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO;
}

/*!
 * @brief This function returns a reference to member m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO
 * @return Reference to member m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO
 */
bool& AlarmInfo_t::m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO()
{
    return m_m_INTRUSION_OBJECT_DISTANCE_CALCULATE_FAILED_ALARM_INFO;
}


/*!
 * @brief This function sets a value in member m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO
 * @param _m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO New value for member m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO
 */
void AlarmInfo_t::m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO(
        bool _m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO)
{
    m_m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO = _m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO;
}

/*!
 * @brief This function returns the value of member m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO
 * @return Value of member m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO
 */
bool AlarmInfo_t::m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO() const
{
    return m_m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO;
}

/*!
 * @brief This function returns a reference to member m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO
 * @return Reference to member m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO
 */
bool& AlarmInfo_t::m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO()
{
    return m_m_INTRUSION_OBJECT_VELOCITY_CALCULATE_FAILED_ALARM_INFO;
}


/*!
 * @brief This function sets a value in member m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO
 * @param _m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO New value for member m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO
 */
void AlarmInfo_t::m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO(
        bool _m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO)
{
    m_m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO = _m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO;
}

/*!
 * @brief This function returns the value of member m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO
 * @return Value of member m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO
 */
bool AlarmInfo_t::m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO() const
{
    return m_m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO;
}

/*!
 * @brief This function returns a reference to member m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO
 * @return Reference to member m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO
 */
bool& AlarmInfo_t::m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO()
{
    return m_m_CLEARANCES_AREA_LENGTH_TOO_SHORT_ALARM_INFO;
}


/*!
 * @brief This function sets a value in member m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO
 * @param _m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO New value for member m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO
 */
void AlarmInfo_t::m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO(
        bool _m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO)
{
    m_m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO = _m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO;
}

/*!
 * @brief This function returns the value of member m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO
 * @return Value of member m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO
 */
bool AlarmInfo_t::m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO() const
{
    return m_m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO;
}

/*!
 * @brief This function returns a reference to member m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO
 * @return Reference to member m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO
 */
bool& AlarmInfo_t::m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO()
{
    return m_m_CLEARANCES_AREA_RECOGNITION_FAILED_ALARM_INFO;
}


/*!
 * @brief This function sets a value in member m_LIDAR_SENSOR_FAULT_ALARM_INFO
 * @param _m_LIDAR_SENSOR_FAULT_ALARM_INFO New value for member m_LIDAR_SENSOR_FAULT_ALARM_INFO
 */
void AlarmInfo_t::m_LIDAR_SENSOR_FAULT_ALARM_INFO(
        bool _m_LIDAR_SENSOR_FAULT_ALARM_INFO)
{
    m_m_LIDAR_SENSOR_FAULT_ALARM_INFO = _m_LIDAR_SENSOR_FAULT_ALARM_INFO;
}

/*!
 * @brief This function returns the value of member m_LIDAR_SENSOR_FAULT_ALARM_INFO
 * @return Value of member m_LIDAR_SENSOR_FAULT_ALARM_INFO
 */
bool AlarmInfo_t::m_LIDAR_SENSOR_FAULT_ALARM_INFO() const
{
    return m_m_LIDAR_SENSOR_FAULT_ALARM_INFO;
}

/*!
 * @brief This function returns a reference to member m_LIDAR_SENSOR_FAULT_ALARM_INFO
 * @return Reference to member m_LIDAR_SENSOR_FAULT_ALARM_INFO
 */
bool& AlarmInfo_t::m_LIDAR_SENSOR_FAULT_ALARM_INFO()
{
    return m_m_LIDAR_SENSOR_FAULT_ALARM_INFO;
}


/*!
 * @brief This function sets a value in member m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO
 * @param _m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO New value for member m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO
 */
void AlarmInfo_t::m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO(
        bool _m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO)
{
    m_m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO = _m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO;
}

/*!
 * @brief This function returns the value of member m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO
 * @return Value of member m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO
 */
bool AlarmInfo_t::m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO() const
{
    return m_m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO;
}

/*!
 * @brief This function returns a reference to member m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO
 * @return Reference to member m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO
 */
bool& AlarmInfo_t::m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO()
{
    return m_m_LONG_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO;
}


/*!
 * @brief This function sets a value in member m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO
 * @param _m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO New value for member m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO
 */
void AlarmInfo_t::m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO(
        bool _m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO)
{
    m_m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO = _m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO;
}

/*!
 * @brief This function returns the value of member m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO
 * @return Value of member m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO
 */
bool AlarmInfo_t::m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO() const
{
    return m_m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO;
}

/*!
 * @brief This function returns a reference to member m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO
 * @return Reference to member m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO
 */
bool& AlarmInfo_t::m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO()
{
    return m_m_SHORT_FOCUS_CAMERA_SENSOR_FAULT_ALARM_INFO;
}


/*!
 * @brief This function sets a value in member m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO
 * @param _m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO New value for member m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO
 */
void AlarmInfo_t::m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO(
        bool _m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO)
{
    m_m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO = _m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO;
}

/*!
 * @brief This function returns the value of member m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO
 * @return Value of member m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO
 */
bool AlarmInfo_t::m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO() const
{
    return m_m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO;
}

/*!
 * @brief This function returns a reference to member m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO
 * @return Reference to member m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO
 */
bool& AlarmInfo_t::m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO()
{
    return m_m_MILLIMETERM_WAVE_RADAR_SENSOR_FAULT_ALARM_INFO;
}


/*!
 * @brief This function sets a value in member m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO
 * @param _m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO New value for member m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO
 */
void AlarmInfo_t::m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO(
        bool _m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO)
{
    m_m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO = _m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO;
}

/*!
 * @brief This function returns the value of member m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO
 * @return Value of member m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO
 */
bool AlarmInfo_t::m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO() const
{
    return m_m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO;
}

/*!
 * @brief This function returns a reference to member m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO
 * @return Reference to member m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO
 */
bool& AlarmInfo_t::m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO()
{
    return m_m_ATP_COMMUNICATION_TIMEOUT_ALARM_INFO;
}


/*!
 * @brief This function sets a value in member m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO
 * @param _m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO New value for member m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO
 */
void AlarmInfo_t::m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO(
        bool _m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO)
{
    m_m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO = _m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO;
}

/*!
 * @brief This function returns the value of member m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO
 * @return Value of member m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO
 */
bool AlarmInfo_t::m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO() const
{
    return m_m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO;
}

/*!
 * @brief This function returns a reference to member m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO
 * @return Reference to member m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO
 */
bool& AlarmInfo_t::m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO()
{
    return m_m_TRAIN_INTERFACE_COMMUNICATION_TIMEOUT_ALARM_INFO;
}


/*!
 * @brief This function sets a value in member m_RESERVE
 * @param _m_RESERVE New value for member m_RESERVE
 */
void AlarmInfo_t::m_RESERVE(
        bool _m_RESERVE)
{
    m_m_RESERVE = _m_RESERVE;
}

/*!
 * @brief This function returns the value of member m_RESERVE
 * @return Value of member m_RESERVE
 */
bool AlarmInfo_t::m_RESERVE() const
{
    return m_m_RESERVE;
}

/*!
 * @brief This function returns a reference to member m_RESERVE
 * @return Reference to member m_RESERVE
 */
bool& AlarmInfo_t::m_RESERVE()
{
    return m_m_RESERVE;
}


// Include auxiliary functions like for serializing/deserializing.
#include "AlarmInfo_tCdrAux.ipp"

